<div class="detail-container">
  <div class="detail-content clearfix">
    <div class="banner-box fl">
      <div class="big-pic">
        <img [src]="defaultImg" alt="">
      </div>
      <div class="banner">
        <span class="wficon-left"></span>
        <div class="pic">
          <a href="javascript:;" *ngFor="let item of banners" (click)="setImgUrl(item.url)">
            <img [src]="item.url" alt="">
          </a>
        </div>
        <span class="wficon-right"></span>
      </div>
    </div>
    <div class="content-box fr">
      <div class="content">
        <div class="rent-title">
          <p class="font_24">{{goods.title}}</p>
          <p class="price font_14 rent-price">
            ￥<span class="font_24">{{goods.salesPrice}}</span>/月
          </p>
        </div>
        <div class="rent-con font_14">
          <p class="sub-title font_16">租赁须知</p>
          <p>1、商品租赁结束时间不得超过房屋租赁结束时间；</p>
          <p>2、不得将租赁商品带离所住公寓；</p>
          <p>3、租赁使用过程中应保证商品的完好性，归还时如有缺失或损坏的，照价赔偿，甲方有权从押金中扣除，室内设施损坏金额超过押金时，甲方有权向乙方追诉赔偿超出部分；</p>
          <p>4、如因个人原因提前退还商品的，商品租金不予退还；</p>
          <p>5、如有问题，可至门店管理处咨询。</p>
        </div>
        <hr>
        <form class="rent-form">
          <div class="form-group">
            <label>时间</label>
            <div class="select-box datepicker-box">
              <app-datepicker (sendDate)="getDate($event)"></app-datepicker>
            </div>
          </div>
          <div class="form-group">
            <label>房间</label>
            <div class="select-box">
              <select name="department"
                      [(ngModel)]="data.layoutId">
                <option *ngFor="let item of layoutList" [value]='item.houseId'>{{item.houseNo}}房</option>
              </select>
            </div>
          </div>
          <div class="total-box">
            <div class="total font_14">
              共计：<i class="rent-price">￥</i><span class="font_18 rent-price">{{totalMoney}}</span>
            </div>
            <button class="gradient-btn" (click)="doRenting(totalMoney)">立即购买</button>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
